/*!	 event_keyboard.h
**	 Template Header
**
**	......... ... 2013 Ivan Mahonin
**
**	This package is free software; you can redistribute it and/or
**	modify it under the terms of the GNU General Public License as
**	published by the Free Software Foundation; either version 2 of
**	the License, or (at your option) any later version.
**
**	This package is distributed in the hope that it will be useful,
**	but WITHOUT ANY WARRANTY; without even the implied warranty of
**	MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
**	General Public License for more details.
**
*/

#ifndef __SYNFIG_EVENT_KEYBOARD_H
#define __SYNFIG_EVENT_KEYBOARD_H

#include <synfig/vector.h>
#include "smach.h"
#include <gdkmm/types.h>

namespace studio
{

struct EventKeyboard : public Smach::event {
    guint keyval;
    Gdk::ModifierType modifier;

    EventKeyboard(EventKey id, guint keyval, Gdk::ModifierType modifier = Gdk::ModifierType(0)):
        Smach::event(id),
        keyval(keyval),
        modifier(modifier)
    { }
}; // END of EventKeyboard

}; // END of namespace studio

#endif